Flip GTK_STOCK_CLEAR icon in rtl locales
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 Jun 2014 21:58:43 +0000 (17:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Jun 2014 22:02:05 +0000 (18:02 -0400)
Adwaita now includes an edit-clear-rtl variant, so lets use it.

gtk/deprecated/gtkiconfactory.c

index 1169d6d6b66b35911e01f2a01fdbd2f81255231e..0911e73da0d9b13340d3d69214ebbab4e8c19049 100644 (file)
@@ -611,7 +611,7 @@ get_default_icons (GtkIconFactory *factory)
   register_stock_icon (factory, GTK_STOCK_ZOOM_OUT, "zoom-out");
   register_stock_icon (factory, GTK_STOCK_ZOOM_FIT, "zoom-fit-best");
   register_stock_icon (factory, GTK_STOCK_SELECT_ALL, "edit-select-all");
-  register_stock_icon (factory, GTK_STOCK_CLEAR, "edit-clear");
+  register_bidi_stock_icon (factory, GTK_STOCK_CLEAR, "edit-clear");
   register_stock_icon (factory, GTK_STOCK_SELECT_COLOR, GTK_STOCK_SELECT_COLOR);
   register_stock_icon (factory, GTK_STOCK_COLOR_PICKER, GTK_STOCK_COLOR_PICKER);
 }